package com.ctshk.rpc.tour.req;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;


/**
 * @author Lenovo
 */
@Data
@ApiModel(value = "TripBasicInformation对象", description = "新增行程-基本信息")
public class TripBasicInformationReq implements Serializable {

    @ApiModelProperty(value = "行程id")
    private Long id;

    @Valid
    @NotNull(message = "行程资料不能为空")
    @ApiModelProperty(value = "行程资料")
    private SeriesTripReq seriesTripReq;

    @Valid
    @ApiModelProperty(value = "团队资料")
    private SeriesTripTeamRuleReq seriesTripTeamRuleReq;

    @ApiModelProperty(value = "业务类型(1:出境游 2:入境游)")
    private Integer businessType;


}
